package lab01;

import java.util.Scanner;

public class Test06 {
    public static void main(String[] args) {
        Scanner s=new Scanner(System.in);
        System.out.println("请输入一个在0~100之间的成绩：");
        int i=s.nextInt();
        if (i<60&&i>=0){
            System.out.println("D级");
        }else if (i>=60&&i<70){
            System.out.println("C级");
        }else if (i>=70&&i<85){
            System.out.println("B级");
        }else if (i>=85&&i<=100){
            System.out.println("A级");
        }

    }
}
